
<div  class="<?php echo ($this->isUserLogedIn() ? 'grid_12' : 'grid_16')?>">
    <h2>Galerijos "<?php echo $this->gallery->title ;?>" nuotraukos</h2>
    <p><?php echo $this->gallery->description ;?></p>
    <?php
    if($this->getPhotoService() != null){
        $photos = $this->photoService->getByGalleryId($this->gallery->id);
        if($photos != null){
        foreach ($photos as $photo) { ?>
    <a href="<?php echo $photo->original; ?>" rel="lightbox[roadtrip]" title="Nuotrauka">
        <img  alt="" src="<?php echo $photo->mini; ?>"/>
    </a>
    <?php }}} ?>
</div>

